You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="4318" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1023" ns="0" title="Main Page">
        <revisions>
          <rev user="Gregorio" timestamp="2006-05-02T08:52:42Z" comment="added Variants" />
          <rev user="Roland Illig" timestamp="2007-08-28T21:18:22Z" comment="There&#039;s lots of spam" />
          <rev user="James" timestamp="2007-09-03T03:15:18Z" comment="" />
          <rev user="Roland Illig" timestamp="2007-09-21T11:04:45Z" comment="+ commented games" />
          <rev user="Gregorio" timestamp="2007-12-07T12:08:01Z" comment="internal link added" />
        </revisions>
      </page>
    </pages>
  </query>
</api>